package com.aryankh.constant;

/**
 * @version 1.0
 * @Author AryanKH
 * @Date 2022/5/28 19:15
 * @Default
 */
public class Constants {
    //统一的token前缀
    public static final String TOKEN_PREFIX = "token:";
    //权限请求
    public static final String AUTHORIZATION = "Authorization";
    //token过期时间
    public static final Long TOKEN_TIME = 30 * 60L;
    //角色前缀
    public static final String ROLE_PREFIX = "roles:";
    //权限的前缀
    public static final String PERM_PREFIX = "prem";
    //防止重复提交
    public static final String REPEAT_SUBMIT_KEY = "repeat:";
}